#!/usr/bin/env python

print "\n".join([" ".join(["*"*n for n in t]).center(9) for t in [(3, 3), (9,)] + map(lambda n: (n,), range(9, 0, -2))])
